package com.example.myshopping3.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.swing.*;
import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tbl_comment")
public class Comment {
    @TableId(value = "comment_id",type = IdType.ASSIGN_ID)
    private Long commentId;
    private Long userId;
    private Long bookId;
    private String commentMessage;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;
    private Integer isDeleted;

}
